
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8">
  <title>编辑</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" th:href="@{/layui/css/layui.css}" media="all">
  <link rel="stylesheet" th:href="@{/style/custom.css}" media="all">
</head>
<body>

  <div class="layui-form" lay-filter="data-form-edit" id="data-form-edit" style="padding: 20px 30px 0 0;">
    <input type="hidden" id="id" name="id" th:value="${formData.id}"/>

    <div class="layui-form-item">
      <label class="layui-form-label">主键ID</label>
      <div class="layui-input-block">
        <input type="text" name="id" th:value="${formData.id}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">所属服务名称</label>
      <div class="layui-input-block">
        <input type="text" name="serviceName" th:value="${formData.serviceName}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">所属服务编码</label>
      <div class="layui-input-block">
        <input type="text" name="serviceCode" th:value="${formData.serviceCode}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">任务名称</label>
      <div class="layui-input-block">
        <input type="text" name="jobName" th:value="${formData.jobName}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">任务类型 DEFAULT定时任务 BATCH批量任务</label>
      <div class="layui-input-block">
        <input type="text" name="jobType" th:value="${formData.jobType}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">任务分组</label>
      <div class="layui-input-block">
        <input type="text" name="jobGroup" th:value="${formData.jobGroup}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">任务执行目标</label>
      <div class="layui-input-block">
        <input type="text" name="jobTarget" th:value="${formData.jobTarget}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">cron表达式</label>
      <div class="layui-input-block">
        <input type="text" name="jobCron" th:value="${formData.jobCron}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">任务描述</label>
      <div class="layui-input-block">
        <input type="text" name="jobDesc" th:value="${formData.jobDesc}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">任务参数</label>
      <div class="layui-input-block">
        <input type="text" name="jobParam" th:value="${formData.jobParam}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">任务状态</label>
      <div class="layui-input-block">
        <input type="text" name="jobStatus" th:value="${formData.jobStatus}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">执行策略（轮询）</label>
      <div class="layui-input-block">
        <input type="text" name="strategy" th:value="${formData.strategy}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">状态</label>
      <div class="layui-input-block">
        <input type="text" name="status" th:value="${formData.status}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">告警手机号</label>
      <div class="layui-input-block">
        <input type="text" name="mobile" th:value="${formData.mobile}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">告警邮件</label>
      <div class="layui-input-block">
        <input type="text" name="email" th:value="${formData.email}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">备注说明</label>
      <div class="layui-input-block">
        <input type="text" name="remark" th:value="${formData.remark}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">创建人</label>
      <div class="layui-input-block">
        <input type="text" name="createdBy" th:value="${formData.createdBy}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">创建时间</label>
      <div class="layui-input-block">
        <input type="text" name="createdTime" th:value="${formData.createdTime}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">修改人</label>
      <div class="layui-input-block">
        <input type="text" name="updatedBy" th:value="${formData.updatedBy}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">修改时间</label>
      <div class="layui-input-block">
        <input type="text" name="updatedTime" th:value="${formData.updatedTime}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">租户ID</label>
      <div class="layui-input-block">
        <input type="text" name="tenantId" th:value="${formData.tenantId}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">乐观锁版本号</label>
      <div class="layui-input-block">
        <input type="text" name="revision" th:value="${formData.revision}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">删除状态 0 正常-1删除</label>
      <div class="layui-input-block">
        <input type="text" name="deleted" th:value="${formData.deleted}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" lay-affix="clear">
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label">状态</label>
      <div class="layui-input-block">
        <input type="radio" name="status" value="Y" title="启用" th:checked="${formData.status == null || formData.status == 'Y'} ? true">
        <input type="radio" name="status" value="N" title="禁用" th:checked="${formData.status == 'N'} ? true">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">备注</label>
      <div class="layui-input-block">
        <textarea name="remark" placeholder="请输入内容" th:text="${formData.remark}" class="layui-textarea"></textarea>
      </div>
    </div>
    <div class="layui-form-item layui-hide">
      <input type="button" lay-submit lay-filter="LAY-data-front-submit" id="LAY-data-front-submit" value="确认">
    </div>
  </div>

  <script th:src="@{/layui/layui.js}"></script>
  <script>

  </script>
</body>
</html>